package top.codecrab.eblog.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author codecrab
 * @since 2022-03-18
 */
@Getter
@Setter
@TableName("m_sign")
public class Sign extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 签到的用户ID
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 连续签到的天数
     */
    @TableField("days")
    private Integer days;

    /**
     * 其他信息（JSON格式）
     */
    @TableField("info")
    private String info;

}
